package com.sbs.demo.common;

/**
 * 通用常量信息
 *
 * @author luwenmin
 */
public class CommonConstant {

    /**
     * 成功标记
     */
    public static final int SUCCESS = 200;

    /**
     * 成功标记
     */
    public static final int SUCCESS_CODE = 0;

    /**
     * 失败标记
     */
    public static final int FAIL = 500;

    /**
     * 真实客户端IP
     */
    public static final String CLIENT_IP_HEADER = "client-ip";

    /**
     * 日志追踪id
     */
    public static final String TRACE_ID_HEADER = "trace-id";

    /**
     * 日志追踪id
     */
    public static final String USER_TOKEN = "user-token";

    /**
     * 日志追踪id
     */
    public static final String USER_MOBILE = "user-mobile";

    /**
     * request start time
     */
    public static final String REQUEST_START_TIME_HEADER = "start-time";

    public final static String COMPOSE_QUEUE = "hanshansi.message.compose.queue";

    public final static String COMPOSE_EXCHANGE = "hanshansi.message.compose.exchange";

    public final static String COMPOSE_ROUTE_KEY = "hanshansi.message.compose.topic";
}
